﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewBag.Title</title>
    <link href="~/Content/libs/bootstrap3/css/bootstrap.css" rel="stylesheet" />
    <link href="~/Content/libs/bootstrap3/css/bootstrap-theme.css" rel="stylesheet" />
    <link href="~/Content/libs/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="~/Content/Site.css" rel="stylesheet" />
    <script src="~/Content/libs/json2/json2.js"></script>
    <script src="~/Content/libs/jquery/jquery.js"></script>
    <script src="~/Content/libs/bootstrap3/js/bootstrap.js"></script>
    <script src="~/Content/libs/bootbox/bootbox.min.js"></script>
    <script src="~/Content/libs/modernizr/modernizr.min.js"></script>
    <script src="~/Content/libs/vue/vue.min.js"></script>
    <script src="~/Scripts/common.js"></script>
    @RenderSection("header", required: false)
</head>
<body>
    <div class="navbar navbar-fixed-top navbar-inverse">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a href="@Url.Action("Index","Home")" class="hidden-xs navbar-brand">
                    <strong>广西机电设备招标有限公司</strong>
                    <small>——@ViewBag.Title</small>
                </a>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            <i class="fa fa-fw fa-cogs"></i>
                            特色小工具
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="@Url.Action("Index", "News")">
                                    <i class="fa fa-fw fa-quote-left"></i>
                                    各站新闻列表
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("XhList", "Qualification")">
                                    <i class="fa fa-fw fa-flash"></i>
                                    政采问题答复
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("Index", "Door")">
                                    <i class="fa fa-fw fa-flash"></i>
                                    远程门禁系统
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("QualificationListView_Q", "Qualification")">
                                    <i class="fa fa-fw fa-address-book"></i>
                                    企业资质查询
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            <i class="fa fa-fw fa-align-center"></i>
                            企业资质后台管理
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="@Url.Action("QualificationListView", "Qualification")">
                                    <i class="fa fa-fw fa-address-book"></i>
                                    企业项目后台管理
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("QualificationDetailList", "QualificationDetail")">
                                    <i class="fa fa-fw fa-address-card-o"></i>
                                    资质明细后台管理
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            <i class="fa fa-user"></i>
                            @User.Identity.Name
                            <!--<span class="badge">4</span>-->
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            @if (User.Identity.IsAuthenticated)
                            {
                                <li>
                                    <a href="@Url.Action("LogOff","Account")">
                                        <i class="fa fa-power-off"></i>
                                        退出
                                    </a>
                                </li>
                            }
                            else
                            {
                                <li>
                                    <a href="@Url.Action("Login","Account")">
                                        <i class="fa fa-key"></i>
                                        登录
                                    </a>
                                </li>
                            }
                        </ul>
                    </li>



                </ul>
            </div>
        </div>
    </div>
    <div class="container" style="margin-top:2em;">
        @RenderBody()
        <hr />
        <footer>
            <p class="text-center">&copy; @DateTime.Now.Year - 广西机电设备招标有限公司</p>
        </footer>
    </div>

    @RenderSection("Script", required: false)
</body>
</html>
